package com.itheima.mapper;


import com.itheima.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptMapper {

    public List<Dept> queryAllDepts();

    public void addDept(Dept dept);

    public void updateDept(Dept dept);


    public Dept queryDeptById(Integer id);

    public void deleteDeptById(Integer id);

}
